if SERVER then
	registerCommand("jump", "Turn on/off high jumping - takes an optional player", function(param)
		local jumpOn = "caller gave target jump"
		local jumpOff = "caller took jump from target"
		if param["settings"]["jump_msg_on"] then
			jumpOn = param["settings"]["jump_msg_on"]
		end
		if param["settings"]["jump_msg_off"] then
			jumpOff = param["settings"]["jump_msg_off"]
		end
		local jumpTable = {}
		jumpTable["caller"] = getCaller(param[1])
		local targs = string.Explode(" ", param[3])
		if targs[1] == "all" then
			targs = player.GetAll()
		end
		local plyTarg = 0
		for i, targ in pairs(targs) do
			if (not targ) || targ == "" then
				if not param[1]:IsValid() then
					break
				end
				plyTarg = param[1]
			else
				plyTarg = getPlayerByName(targ)
			end
			if plyTarg then
				jumpTable["target"] = plyTarg:GetName()
				if (not plyTarg["moocow_jump"]) || plyTarg["moocow_jump"] == -1 then
					display(param[1], "jump", { plyTarg }, parseDisplayMessage(jumpOn, jumpTable))
					plyTarg["moocow_jump"] = 1
					plyTarg["moocow_jumppower"] = plyTarg:GetJumpPower()
					plyTarg:SetJumpPower(1000)
				else
					display(param[1], "jump", { plyTarg }, parseDisplayMessage(jumpOff, jumpTable))
					plyTarg["moocow_jump"] = -1
					plyTarg:SetJumpPower(plyTarg["moocow_jumppower"])
				end
			end
		end
	end)
end